<?php
	if (count($this->result)){
		echo "<table>";
			foreach($this->result as $row){
				echo "<tr><td><a href='".$this->url()->getUrl('view/group?id=').$result['thread_id']."'>".$result['thread_name']."</a></td></tr>";
			}
		echo "</table>";
	}
?>